<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    * {
      margin:0;
      padding: 0;
    }
    body {
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100vh;
      background: #000;
    }
    .main {
      width: 100%;
      height: 100%;
      position:relative;
    }
    .image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transform-origin: center;
      opacity:0;
      transition: opacity 9s;
    }
    .text {
      position: absolute;
      color: #eee;
      left: 50%;
      top: 50%;
      transform: translate(-50%,-50%);
      font-size: 46px;
      font-weight: 600;
      opacity: 1;
      transition: color 2s, opacity 1s;
      transition-delay: 1s, 3s;
      cursor: pointer;
      z-index: 999;
    }

    .text:hover {
      color: transparent;
      background:linear-gradient(90deg, rgb(224, 30, 16)  10%,#f58505 80%,rgb(224, 30, 16) 10%);
      -webkit-background-clip: text;
      background-clip: text;
      opacity: 0;
    }
    .text:hover + .image {
      opacity:1;
    }
  </style>
</head>
<body>
  <div class="main">
    <span class="text">Monkey King</span>
    <img class="image" src="./image/src=http___1812.img.pp.sohu.com.cn_images_blog_2009_11_18_18_8_125b6560a6ag214.jpg&refer=http___1812.img.pp.sohu.com.jpg" alt="图片">
  </div>
</body>
</html>